package com.carbon.assets.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.carbon.assets.entity.ExchangeAccount;
import com.carbon.assets.param.ExchangeAccountQueryParam;
import com.carbon.assets.vo.ExchangeAccountQueryVo;
import com.carbon.common.api.Paging;

/**
 * <p>
 * 交易所账户表 服务类
 * </p>
 *
 * @author Carbon
 * @since 2022-09-26
 */
public interface ExchangeAccountService extends IService<ExchangeAccount> {

    /**
     * 分页查询交易所账户
     */
    Paging<ExchangeAccountQueryVo> getPageList(ExchangeAccountQueryParam queryParam);

    /**
     * 根据ID获取交易所账户详情
     */
    ExchangeAccountQueryVo getInfo(Long id);

    /**
     * 绑定交易账户
     */
    Boolean bindAccount(ExchangeAccount exchangeAccount);
}